﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InstrumentCommissionExtra.aspx.cs" Inherits="Runda.CMS.Portal.ContractFollowUp.InstrumentCommissionExtra" %>
<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
        <script src="../Content/global.js" type="text/javascript"></script>     
  <link href="../Content/global.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Menu/Menu.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Tab/tabs.css" rel="stylesheet" type="text/css" /> 
    <script type="text/javascript">
        function onCalibrationChange() {
            if (document.getElementById('Calibration').value == '0') {
                document.getElementById("CalibrationOther").style.display = "block";
            } else {
                document.getElementById("CalibrationOther").style.display = "none";
            }
        }
        function onQualityControlChange() {
            if (document.getElementById('QualityControl').value == '0') {
                document.getElementById("QualityControlOther").style.display = "block";
            } else {
            document.getElementById("QualityControlOther").style.display = "none";
            }
        }
        window.onload = function() {
            onCalibrationChange();
            onQualityControlChange();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="mnubar" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td width="9">
                    <img hspace="3" src="../Content/Menu/mnu_vSpacer.gif" />
                </td>
                <td class="icMenu" nowrap>                 
                    <asp:LinkButton ID="lnkbtnSaveAndClose" runat="server"  
                         onclick="lnkbtnSaveAndClose_Click"><span class="menu" title="保存" onclick="window.execScript(this.action);"><img class="mnuBtn" src="../Content/Menu/SaveClose_16_blue.gif"><span class="mnuBtn">保存</span></span></asp:LinkButton>
                    <img src="../Content/Menu/separator.gif">
                    <span class="menu" title="关闭" onclick="window.close();">
                        <img class="mnuBtn" src="../Content/Menu/Close_16_blue.gif"><span class="mnuBtn">关闭</span></span>
                </td>
            </tr>
        </tbody>
    </table>
    <div style="border-bottom: #c2c2bf 1px solid; border-top: #969693 1px solid">
    </div>
    <div id="areaForm" class="area">
        <table cellspacing="0" cellpadding="0" width="100%">
            <tbody>
                <tr>
                    <td valign="top">
                        <div style="display: inline" id="appForm_tab0" class="tab">
                            <asp:HiddenField ID="hiddenMaintainID" runat="server" />                             
                            <table style="table-layout: fixed" id="Section1" cellspacing="0" cellpadding="3"
                                width="100%"> 
                                    <tr>
                                        <td class="req">
                                            仪器名称:
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtInstrumentName" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>                                  
                                    <tr>
                                        <td style="width:10%">
                                            定标品情况:
                                        </td>
                                        <td style="width:40%">
                                           <asp:DropDownList runat="server" ID="Calibration" onchange="onCalibrationChange();">
                                            <asp:ListItem Text="原装" Value="1"></asp:ListItem>
                                             <asp:ListItem Text="其它" Value="0"></asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:TextBox ID="CalibrationOther" runat="server" style="display:none"></asp:TextBox>
                                        </td>
                                        <td style="width:10%">
                                            质控情况
                                        </td>
                                        <td style="width:40%">
                                            <asp:DropDownList runat="server" ID="QualityControl" onchange="onQualityControlChange();">
                                                <asp:ListItem Text="原装质控在控" Value="1"></asp:ListItem>
                                                 <asp:ListItem Text="其它质控在控" Value="0"></asp:ListItem>
                                                 <asp:ListItem Text="失控" Value="-1"></asp:ListItem>
                                            </asp:DropDownList>
                                           <asp:TextBox ID="QualityControlOther" runat="server" style="display:none"></asp:TextBox>
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td class="req">
                                            本系统开展项目:
                                        </td>
                                        <td colspan = "3">
                                            <asp:TextBox ID="txtProjContent" runat="server" Height="60px" TextMode="MultiLine"></asp:TextBox>
                                        </td>
                                    </tr>  
                                    <tr>
                                        <td class="req">
                                            本系统服务项目:
                                        </td>
                                        <td colspan = "3">
                                            <asp:TextBox ID="txtServiceProj" runat="server" Height="60px" TextMode="MultiLine"></asp:TextBox>
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td class="req">
                                            开展项目总数:
                                        </td>
                                        <td>
                                            <rad:RadNumericTextBox ID="ProjNumber" runat="server">
                                                                    <NumberFormat AllowRounding="True" DecimalDigits="0" />
                                                                </rad:RadNumericTextBox>
                                        </td>
                                        <td class="req">
                                            服务项目总数:
                                        </td>
                                        <td>
                                            <rad:RadNumericTextBox ID="ServiceProjNumber" runat="server">
                                                                    <NumberFormat AllowRounding="True" DecimalDigits="0" />
                                                                </rad:RadNumericTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="req">
                                            项目变动情况:
                                        </td>
                                        <td colspan = "3">
                                            <asp:TextBox ID="txtMemo" runat="server" Height="60px" TextMode="MultiLine"></asp:TextBox>
                                        </td>
                                    </tr>                                                                                                                              
                           </table>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    </form>
</body>
</html>
